//
//  XGCalendarCell.h
//  SACalendar
//
//  Created by YaoZhaofeng on 15/4/16.
//  Copyright (c) 2015年 SyncoApp. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    XGCalendarCellStateTodaySelected = 0,      //  Today's cell, selected
    XGCalendarCellStateTodayDeselected = 1,    //  Today's cell, unselected
    XGCalendarCellStateNormal,                 //  Cells that are part of this month, unselected
    XGCalendarCellStateSelected,               //  Cells that are part of this month, selected
    XGCalendarCellStateWeekend,                //  Cells that are in weekend
    XGCalendarCellStateInactive,               //  Cells that are not part of this month
    
} XGCalendarCellState;

@interface XGCalendarCell : UICollectionViewCell
@property (nonatomic, assign) XGCalendarCellState state;
/**
 *  grey line above the label
 */
@property UIView *topLineView;

/**
 *  grey line under the label
 */
@property UIView *bottomLineView;

/**
 *  a circle that appears on the current date
 */
@property UIView *circleView;

/**
 *  a circle that appears on the selected date
 */
@property UIView *selectedView;

/**
 *  the label showing the cell's date
 */
@property UILabel *dateLabel;

@property (nonatomic, strong) NSNumber *number;


/**
 *show bottom line and hide top line, use for weekmode
 */
- (void)showBottomLine;

/**
 *show dot
 */
- (void)showDot:(BOOL)showDot;

@end
